// Tiger NET - CSharp Wrapper  ---------------------------------------------
//                                                                     	    
// @FileName  : tiger.dotnet.ArrayParamterAndReturnMethods.cs                          	    
// @Version   : Cordys Integrator 4.2.1 Build 01                                     
// @Author    : Tiger CodeGenerator                                         
// @BuildInfo : csc tiger.dotnet.ArrayParamterAndReturnMethods.cs                           
//                                                                          
// Warning: This is generated code. Do not update it manually!!             
//                                                                          
// Generated by: Cordys Integrator Code Generation Engine at 15 December 2004 - 02:38:49 IST      
// 	Cordys Integrator 4.2.1 Build 01                                                   
//                                                                          
// -------------------------------------------------------------------------
                                                                            
using System;                                                               
using System.Runtime.InteropServices;                                       
using System.ComponentModel;                                                
using TigerNET;                                                             
using COMJAVALib;                                                           
			 	                                                            
namespace tiger.dotnet
{   
   /// <summary>                           
   /// Summary description for	tiger.dotnet.ArrayParamterAndReturnMethods 	
   /// </summary>                          
    public class ArrayParamterAndReturnMethods
    {   
        private static comJavaJvmClass  m_JVM;  
        private IJavaObjectProxy m_THIS; 
        								
        								
								
								
		// Non-deterministic ( Garbage Collected ) Destructor
		//											
		~ArrayParamterAndReturnMethods()	
		{											
			if (m_THIS != null)						
			{										
													
				Marshal.ReleaseComObject((object)m_THIS); 
													
			}										
			m_THIS  = null;							
		}											
													
													
		// Deletes Java Objects & release memory	
		//											
		public void Destroy()						
		{											
			if (m_THIS != null)						
			{										
													
				Marshal.ReleaseComObject((object)m_THIS); 
													
			 }										
			m_THIS  = null;							
		}											
												  

		// Special Constructor which enables other	
		// objects to return this object			
		//											
		public ArrayParamterAndReturnMethods( comJavaJvmClass p_JVM, IJavaObjectProxy p_THIS )	
		{											
			m_JVM  = p_JVM;							
			m_THIS = p_THIS;						
		}											
													
    											  

		public ArrayParamterAndReturnMethods()
		{											
			m_JVM = JVMInit.CreateJvm();			
													
			object[] l_aobjArgs = new System.Object[]
			{										
			};										
													
			object   l_objThis  = m_JVM.newJavaObject(  "tiger.dotnet.ArrayParamterAndReturnMethods", ref l_aobjArgs );	
			m_THIS  = ( IJavaObjectProxy )l_objThis;
		}											
													
								
													
		public IJavaObjectProxy THIS				
		{											
			get								 		
			{										
				return m_THIS;						
			}										
			set										
			{										
				m_THIS =value;						
			}										
		}											
													
													
		public static ArrayParamterAndReturnMethods	TypeCast(object  castObject)					
		{											
		 try										
		 	{										
		 	 if(castObject != null)					
			  {										
				return (new	ArrayParamterAndReturnMethods(JVMInit.CreateJvm(),(IJavaObjectProxy)castObject))	;
			 }										
			 else									
			 {										
				throw (new System.Exception ("object is null [Trying to TypeCast a null object] "));
			 }										
		   }										
		 catch(System.Exception ex)					
		 {											
		   throw ex;								
		 }											
		}											
													
    									

		public	int[]	intMethod(int[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "intMethod", ref l_aobjArgs );    
															
				return  (int[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	long[]	longMethod(long[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "longMethod", ref l_aobjArgs );    
															
				return  (long[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	string[]	stringMethod(string[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "stringMethod", ref l_aobjArgs );    
															
				return  (string[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	bool[]	booleanMethod(bool[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "booleanMethod", ref l_aobjArgs );    
															
				return  (bool[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	object	objectMethod(java.lang.Object[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				int l_arrDimension=	p_arg0.Length ;
				object[] l_arrObjp_arg0=	new object[l_arrDimension]; 
				for (int i=0;i <l_arrDimension ;i++)	
				{	
					l_arrObjp_arg0[i]=p_arg0[i].THIS;
				}	

				object[] l_aobjArgs = new System.Object[]
				{  									    
				 	l_arrObjp_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "objectMethod", ref l_aobjArgs );    
															
				if (l_objTemp == null)							 
					return  null;								 
				else											 
				return  (object)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	sbyte[]	byteMethod(sbyte[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "byteMethod", ref l_aobjArgs );    
															
				return  (sbyte[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	float[]	floatMethod(float[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "floatMethod", ref l_aobjArgs );    
															
				return  (float[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	char[]	charMethod(char[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "charMethod", ref l_aobjArgs );    
															
				return  (char[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	double[]	doubleMethod(double[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "doubleMethod", ref l_aobjArgs );    
															
				return  (double[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	int[]	intStaticMethod(int[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("tiger.dotnet.ArrayParamterAndReturnMethods", "intStaticMethod",ref l_aobjArgs	 ); 
 															
				return  (int[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	long[]	longStaticMethod(long[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("tiger.dotnet.ArrayParamterAndReturnMethods", "longStaticMethod",ref l_aobjArgs	 ); 
 															
				return  (long[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	string[]	stringStaticMethod(string[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("tiger.dotnet.ArrayParamterAndReturnMethods", "stringStaticMethod",ref l_aobjArgs	 ); 
 															
				return  (string[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	bool[]	booleanStaticMethod(bool[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("tiger.dotnet.ArrayParamterAndReturnMethods", "booleanStaticMethod",ref l_aobjArgs	 ); 
 															
				return  (bool[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	object	objectStaticMethod(java.lang.Object[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				int l_arrDimension=	p_arg0.Length ;
				object[] l_arrObjp_arg0=	new object[l_arrDimension]; 
				for (int i=0;i <l_arrDimension ;i++)	
				{	
					l_arrObjp_arg0[i]=p_arg0[i].THIS;
				}	

				object[] l_aobjArgs = new System.Object[]
				{  									    
				 	l_arrObjp_arg0
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("tiger.dotnet.ArrayParamterAndReturnMethods", "objectStaticMethod",ref l_aobjArgs	 ); 
 															
				if (l_objTemp == null)							 
					return  null;								 
				else											 
				return  (object)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	sbyte[]	byteStaticMethod(sbyte[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("tiger.dotnet.ArrayParamterAndReturnMethods", "byteStaticMethod",ref l_aobjArgs	 ); 
 															
				return  (sbyte[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	float[]	floatStaticMethod(float[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("tiger.dotnet.ArrayParamterAndReturnMethods", "floatStaticMethod",ref l_aobjArgs	 ); 
 															
				return  (float[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	char[]	charStaticMethod(char[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("tiger.dotnet.ArrayParamterAndReturnMethods", "charStaticMethod",ref l_aobjArgs	 ); 
 															
				return  (char[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	double[]	doubleStaticMethod(double[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("tiger.dotnet.ArrayParamterAndReturnMethods", "doubleStaticMethod",ref l_aobjArgs	 ); 
 															
				return  (double[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	short[]	shortMethod(short[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "shortMethod", ref l_aobjArgs );    
															
				return  (short[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public static	short[]	shortStaticMethod(short[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				m_JVM= JVMInit.CreateJvm(); 
 				object l_objTemp = m_JVM.invokeStaticJavaMethod("tiger.dotnet.ArrayParamterAndReturnMethods", "shortStaticMethod",ref l_aobjArgs	 ); 
 															
				return  (short[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	int[,,]	intMultiDimMethod(int[,,] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "intMultiDimMethod", ref l_aobjArgs );    
															
				return  (int[,,])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	long[,]	longMultiDimMethod(long[,] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "longMultiDimMethod", ref l_aobjArgs );    
															
				return  (long[,])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	string[,]	stringMultiDimMethod(string[,] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "stringMultiDimMethod", ref l_aobjArgs );    
															
				return  (string[,])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	bool[,]	booleanMultiDimMethod(bool[,] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "booleanMultiDimMethod", ref l_aobjArgs );    
															
				return  (bool[,])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	object	objectMultiDimMethod(java.lang.Object[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				int l_arrDimension=	p_arg0.Length ;
				object[] l_arrObjp_arg0=	new object[l_arrDimension]; 
				for (int i=0;i <l_arrDimension ;i++)	
				{	
					l_arrObjp_arg0[i]=p_arg0[i].THIS;
				}	

				object[] l_aobjArgs = new System.Object[]
				{  									    
				 	l_arrObjp_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "objectMultiDimMethod", ref l_aobjArgs );    
															
				if (l_objTemp == null)							 
					return  null;								 
				else											 
				return  (object)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	sbyte[]	byteMultiDimMethod(sbyte[] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "byteMultiDimMethod", ref l_aobjArgs );    
															
				return  (sbyte[])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	float[,]	floatMultiDimMethod(float[,] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "floatMultiDimMethod", ref l_aobjArgs );    
															
				return  (float[,])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	char[,]	charMultiDimMethod(char[,] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "charMultiDimMethod", ref l_aobjArgs );    
															
				return  (char[,])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	double[,]	doubleMultiDimMethod(double[,] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "doubleMultiDimMethod", ref l_aobjArgs );    
															
				return  (double[,])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	short[,]	shortMultiDimMethod(short[,] p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "shortMultiDimMethod", ref l_aobjArgs );    
															
				return  (short[,])  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	int	hashCode()
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    

				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "hashCode", ref l_aobjArgs );    
															
				return  (int)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	java.lang.Class	getClass()
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    

				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "getClass", ref l_aobjArgs );    
															
				if (l_objTemp == null)							 
					return  null;								 
				else											 
					return  ( new java.lang.Class(m_JVM,(IJavaObjectProxy)l_objTemp));
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	void	wait()
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    

				}; 									 
														 
				m_THIS.invokeJavaMethod( "wait", ref l_aobjArgs );    
														
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	void	wait(long p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0
				}; 									 
														 
				m_THIS.invokeJavaMethod( "wait", ref l_aobjArgs );    
														
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	void	wait(long p_arg0 ,	int p_arg1 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0, 										
					p_arg1
				}; 									 
														 
				m_THIS.invokeJavaMethod( "wait", ref l_aobjArgs );    
														
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	bool	equals(java.lang.Object p_arg0 )
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    
					p_arg0.THIS
				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "equals", ref l_aobjArgs );    
															
				return  (bool)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	void	notify()
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    

				}; 									 
														 
				m_THIS.invokeJavaMethod( "notify", ref l_aobjArgs );    
														
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	void	notifyAll()
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    

				}; 									 
														 
				m_THIS.invokeJavaMethod( "notifyAll", ref l_aobjArgs );    
														
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		public	string	toString()
		{   											
			// invoke the corresponding java method		
			try									    	
			{   										
				object[] l_aobjArgs = new System.Object[]
				{  									    

				}; 									 
														 
				object l_objTemp = m_THIS.invokeJavaMethod( "toString", ref l_aobjArgs );    
															
				return  (string)  l_objTemp;
			}   
			catch( COMException ce )
			{   
				throw ce;
			}   
		}   
				


		
    }    // end of	tiger.dotnet.ArrayParamterAndReturnMethods	 class

}    // end of namespace